package com.slz3.business.module.wmsManagement.wmsStockDetailItems.service;

import com.slz3.business.module.wmsManagement.wmsStockDetailItems.domain.WmsStockDetailItems;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface WmsStockDetailItemsService {

    WmsStockDetailItems save(WmsStockDetailItems wmsStockDetailItems);

    Page<WmsStockDetailItems> page(MultiValueMap<String,String> queryParams);

    WmsStockDetailItems modify(WmsStockDetailItems wmsStockDetailItems);

    Optional<WmsStockDetailItems> single(UUID uuid);

    List<WmsStockDetailItems> findAllByUuids(Iterable<UUID> uuids);

    List<WmsStockDetailItems> delete(List<WmsStockDetailItems> wmsStockDetailItemsList);

}
